#ifndef COMPOSITEVIEWERWIDGET_H
#define COMPOSITEVIEWERWIDGET_H

#include <QWidget>
#include <QTimer>

#include <osgViewer/CompositeViewer>

class CompositeViewerWidget : public QWidget,osgViewer::CompositeViewer
{
	Q_OBJECT

public:
	CompositeViewerWidget(QWidget *parent = 0);
	~CompositeViewerWidget();

private:
	osg::Camera* createCamera(int x,int y, int w, int h, const std::string& name="",bool windowDecoration=false);

	QTimer timer;
};

#endif // COMPOSITEVIEWERWIDGET_H
